package com.sz.demo.discount;

import com.sz.demo.model.Product;
import java.math.BigDecimal;

/**
 * 折扣策略接口
 * @author Lenovo
 */
public interface DiscountStrategy {
    /**
     * 应用折扣
     */
    BigDecimal applyDiscount(Product product, int quantity);
}